export default {
  namespaced: true,
  state: {
    userInfo: {},
  },
  mutations: {
    setuserInfo(state, data) {
      state.userInfo = {
        ...state.userInfo,
        ...data,
      }
    },
    clearuserInfo(state) {
      state.userInfo = {}
    },
  },
}
